package git.LiuZhanHong.Demo3_14;

public class Cat extends Animal {
    public Cat(String name, int age, String color)
    {
        super(name, age, color);
    }

    //吃方法
    public void eat()
    {
        System.out.println("eat fish");
    }
    //跑方法
    public void run()
    {
        System.out.println("猫咪在悠哉游哉的走路");
    }
    //猫叫
    public void bark()
    {
        System.out.println("喵喵");
    }


}
